Package com.netscape.cmscore.cert
Class CertDateCompare
java.lang.Object
com.netscape.cmscore.cert.CertDateCompare
- All Implemented Interfaces:
Serializable
,Comparator<org.mozilla.jss.netscape.security.x509.X509CertImpl>
public class CertDateCompare
extends Object
implements Comparator<org.mozilla.jss.netscape.security.x509.X509CertImpl>, Serializable
Compares validity dates for use in sorting.
- Version:
- $Revision$, $Date$
- Author:
- kanda
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(org.mozilla.jss.netscape.security.x509.X509CertImpl cert1, org.mozilla.jss.netscape.security.x509.X509CertImpl cert2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
CertDateCompare
public CertDateCompare()
-
-
Method Details
-
compare
public int compare(org.mozilla.jss.netscape.security.x509.X509CertImpl cert1, org.mozilla.jss.netscape.security.x509.X509CertImpl cert2) - Specified by:
compare
in interfaceComparator<org.mozilla.jss.netscape.security.x509.X509CertImpl>
-